package com.example.my.shop.mybatis.service;

import com.example.my.shop.mybatis.TbUser;

import java.util.List;

public interface TbUserService {
    TbUser selectUserByEmail(String email);

    List<TbUser> findAll();

    boolean addUser(TbUser user);

    TbUser selectUserById(int id);

    int deleteUserBuId(int id);

    int updateUser(TbUser user);
}
